package com.zhoujian.Decorator;

public class DecoratorTwo extends Decorator{
    public DecoratorTwo(Component component) {
        super(component);
    }

    @Override
    public void operation() {
        System.out.println("这是前面添加了行为----第二次包装");
        super.operation();
        System.out.println("这是后面添加了行为----第二次包装");
    }
}
